package com.kqb.api.product.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 杉果树皮
 * @date 2025/4/14 16:31
 */
@Data
@ApiModel("SkuVO")
@Accessors(chain = true)
public class SkuVO {
    @ApiModelProperty(value = "属性id")
    private Long skuId;

    @ApiModelProperty(value = "SPU id")
    private Long spuId;

    @ApiModelProperty(value = "多个销售属性值id逗号分隔")
    private String attrs;

    @ApiModelProperty(value = "sku名称")
    private String skuName;

    @ApiModelProperty(value = "banner图片")
    private String imgUrl;

    @ApiModelProperty(value = "售价，整数方式保存")
    private Long priceFee;

    @ApiModelProperty(value = "市场价，整数方式保存")
    private Long marketPriceFee;

    @ApiModelProperty(value = "状态 1:enable, 0:disable, -1:deleted")
    private Integer status;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "商品编码")
    private String partyCode;

    @ApiModelProperty(value = "商品条形码")
    private String modelId;

    @ApiModelProperty(value = "商品重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "商品体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "当前sku规格列表")
    private List<SpuSkuAttrValueVO> spuSkuAttrValues;
}
